# coding=utf-8
# 使用类
class Student(object):
    def __init__(self, name="", school="", grade=""):
        if not name:
            name = raw_input("What's his/her name:")
        if not school:
            school = raw_input("What's {}'s school name:".format(name))
        if not grade:
            grade = raw_input("{}'s grade:".format(name))
        self.name = name
        self.school = school
        self.grade = grade

    def print_student(self):
        print("Name: {}".format(self.name))
        print("School: {}".format(self.school))
        print("Grade: {}".format(self.grade))


def print_all(students):
    for student in students:
        print("*"*15)
        student.print_student()

def main():
    student1 = Student()
    student2 = Student(name="bobo",school="CSU")
    students = [student1, student2]
    print_all(students)

if __name__ == "__main__":
    main()